package com.fengye.security.rest;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author fengyexjtu@126.com
 * @date 2022年04月12日 10:02 AM
 */
@RestController
@RequestMapping("/open")
public class PublicResource {

    @GetMapping("/greeting")
    public String greeting() {
        return "public resource!";
    }
}
